﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AuthToken.aspx.cs" Inherits="com.instalinks.android.web.web2sms.AuthToken" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Google Auth Token Generation Utility</title>
    <style type="text/css">
        body
        {
            font-size: small;
            font-family:Arial;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <center>
            <span style="color:#ff0000;">
            <asp:Literal ID="lblError" runat="server"></asp:Literal>
            </span>
            <table width="400px" border="0" cellpadding="2" cellspacing="1" style="border:1px solid #cacaca;">
                <tr>
                    <td style="width: 30%;" align="left">
                        Email ID
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                            ControlToValidate="txtEmail" ErrorMessage="Email Only" Font-Size="7px" 
                            ForeColor="Red" SetFocusOnError="True" 
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                            ValidationGroup="VG"></asp:RegularExpressionValidator>
                    </td>
                    <td style="width: 70%;">
                        <asp:TextBox ID="txtEmail" runat="server" Width="98%" BorderStyle="Solid" 
                            BorderWidth="1px" BorderColor="#CACACA" AutoCompleteType="Email" 
                            ValidationGroup="VG"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 30%;" align="left">
                        Password
                    </td>
                    <td style="width: 70%;">
                        <asp:TextBox ID="txtPassword" TextMode="Password" runat="server" Width="98%" BorderStyle="Solid" 
                            BorderWidth="1px" BorderColor="#CACACA"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="left">Auth Token
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:TextBox ID="txtAuthToken" runat="server" Width="99%" TextMode="MultiLine" Rows="8"
                            ReadOnly="true" BorderStyle="Solid" 
                            BorderWidth="1px" BorderColor="#CACACA"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
                            onclick="btnSubmit_Click" ValidationGroup="VG" />&nbsp;&nbsp;
                        <input type="reset" value="Reset" />
                    </td>
                </tr>
            </table>
        </center>
    </div>
    </form>
</body>
</html>
